home *** CD-ROM | disk | FTP | other *** search
- global gPlatform
-
- on startMovie
- clearGlobals()
- set thisPage to "e_sabout.htm"
- setShockSpec(thisPage)
- localInit()
- end
-
- on localInit
- global gFields, showMe, gExitOp
- setStyles()
- initColorLists()
- initHeightPatch()
- set gFields to []
- repeat with i = 1 to 5
- append(gFields, "text" & i)
- end repeat
- resetAllFields()
- set showMe to 0
- set the randomSeed to the ticks
- set gExitOp to " =" && QUOTE & "bold" & QUOTE && "then exit"
- end
-
- on setShockSpec thisPage
- if the machineType = 256 then
- set gPlatform to "win"
- else
- set gPlatform to "mac"
- if not (the colorDepth = 8) then
- alert("If possible, set your monitor to 256 colors and reload this page.")
- exit
- end if
- end if
- end
-
- on waitForTicks theTicks
- set startTime to the timer
- repeat while (startTime + theTicks) > the timer
- nothing()
- end repeat
- end
-